package menu.service.impl;

import java.util.ArrayList;
import java.util.List;

import menu.model.MenuItem;
import menu.dao.*;
import menu.service.MenuManager;

public class MenuManagerImpl implements MenuManager {

	private MenuDao menuDao;
	
	public List<MenuItem> getAllMenuItems() {
		
		//List<Food> listFood = new ArrayList<Food>();
		//listFood.add(new Food(1,"food 1"));
		//listFood.add(new Food(2,"food 2"));
		//return listFood;
		
		return menuDao.findAll();
	}
	public void setMenuDao(MenuDao menuDao) {
		this.menuDao = menuDao;
	}
}
